package com.songkun.template.refrofit.service;

import com.songkun.template.entity.CheckVersionBean;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;


/**
 * @描述: 检查更新
 * @项目名: AndroidTemplate
 * @包名: com.songkun.template.refrofit.service
 * @类名:
 * @作者: soongkun
 * @创建时间: 2016/4/29 13:16
 */

public interface CheckVersion {

    /**
     * 检查更新
     * @param clientType
     * @return
     */
    @FormUrlEncoded
    @POST("i/version/checkVersion")
    Observable<CheckVersionBean> checkVersion(@Field("clientType") String clientType);
}
